Leat\Infrastructure\Repositories\WPPromotionRuleRepository S

Total Complexity 26
Dependencies 5
Dependents 1
Total lines 236
Lines of code 169
Logical lines of code 61
Comment lines 15
Methods 9
Properties 2

Methods 9

Method Rating Maintainability Complexity Lines of code
create_or_update()
S
47 6 38
handle_duplicates()
S
50 4 29
get_rules()
S
57 3 16
get_active_rules()
S
57 3 16
delete_with_empty_uuid()
S
53 2 24
get_by_uuid()
S
57 2 18
delete()
S
58 2 17
get_by_id()
S
68 3 7
__construct()
S
76 1 4